﻿@{
    ViewData["Title"] = "Login";
}


<div class="container mt-5 " style="flex-grow: 1; align-items: center;">
    <div class="row justify-content-center">
        <div class="col-md-4">
            <h2 class="text-center mb-4">用户登录</h2>
            <form method="post" href="">
                <div class="form-group">
                    <label for="username">用户名</label>
                    <input type="text" name="username" class="form-control" id="username" placeholder="输入账号">
                </div>
                <div class="form-group">
                    <label for="password">密码</label>
                    <input type="password" name="password" class="form-control" id="password" placeholder="输入密码">
                </div>
                <button type="submit" class="btn btn-primary btn-block">登录</button>
            </form>
            <p class="text-center mt-3">还没有账号? <a asp-controller="User" asp-action="Register">注册</a></p>
        </div>
    </div>
</div>